package com.example.myproject.util.deptlevel;

public class Dept {
    private String ID;
    private String DEPTNAME;
    private String PID;
    private Integer level; //4* (n-1) +
    private Integer nbspNum;//nbsp数量 4* (n-1) +
    private String TELEPHONE;

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public String getDEPTNAME() {
        return DEPTNAME;
    }

    public void setDEPTNAME(String DEPTNAME) {
        this.DEPTNAME = DEPTNAME;
    }

    public String getPID() {
        return PID;
    }

    public void setPID(String PID) {
        this.PID = PID;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getNbspNum() {
        nbspNum = 4 * (level -1) + 1;
        return nbspNum;
    }

    public void setNbspNum(Integer nbspNum) {
        this.nbspNum = nbspNum;
    }
}
